package com.pj.wisdomlogistics.ui.fragment;

import android.view.View;

import com.pj.wisdomlogistics.R;
import com.pj.wisdomlogistics.other.EventCenter;
import com.pj.wisdomlogistics.ui.activity.MyApplyActivity;

import butterknife.OnClick;

/**
 * Created by HelloWorld on 2017/8/29.
 */

public class CheckAccountFragment extends BaseFragment {

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onFirstUserVisible() {

    }

    @Override
    protected void onUserVisible() {

    }

    @Override
    protected void onUserInvisible() {

    }

    @Override
    public int getContentView() {
        return R.layout.fragment_check_account;
    }

    @Override
    protected boolean isApplyEventBus() {
        return false;
    }

    @Override
    protected boolean isApplyButterKnife() {
        return true;
    }

    @Override
    protected void onEventCome(EventCenter eventCenter) {

    }


    @OnClick({R.id.tv_check_apply, R.id.tv_check_wmdc, R.id.tv_check_whbx, R.id.tv_check_to})
    public void onViewClicked(View view) {
        //查看帐号
        switch (view.getId()) {
            case R.id.tv_check_apply:
                //我的申请
                startActivity(MyApplyActivity.class);
                break;
            case R.id.tv_check_wmdc:
                //外卖点餐
                break;
            case R.id.tv_check_whbx:
                //维护保修
                break;
            case R.id.tv_check_to:
                //更多内容
                break;
        }
    }
}
